package com.gopay.common.domain.bis;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
public class BaseBisBankExtConfig extends BaseBisBankConfig {

    /**
     * 
     */
    private static final long serialVersionUID = -61195173084616260L;

    /**
     * 银行代码
     */
    @Column(name = "BANK_CODE")
    protected String bankCode;

    /**
     * 结算账户开户名
     */
    @Column(name = "ACCT_NAME")
    protected String acctName;

    /**
     * 结算账户号
     */
    @Column(name = "ACCT_NUM")
    protected String acctNum;

    /**
     * 结算账户网点名称
     */
    @Column(name = "BRANCH_NAME")
    protected String branchName;

    /**
     * 结算账户网点联行号
     */
    @Column(name = "BRANCH_CODE")
    protected String branchCode;

    /**
     * 接口通道代码
     * 
     * 00 - 直连银行 01 - 联动优势 02 - 联通沃 03 - 深圳快付通 04 - 民生银联
     */
    @Column(name = "INTRFACE_CHANNEL_CODE")
    protected String chCode;

    /**
     * 接口银行码
     */
    @Column(name = "INTRFACE_BANK_CODE")
    protected String intrfaceBankCode;

    /**
     * 接口一级商户号
     */
    @Column(name = "INTRFACE_1ST_MERNUM")
    protected String intrMernum1;

    /**
     * 接口二级商户号
     */
    @Column(name = "INTRFACE_2ND_MERNUM")
    protected String intrMernum2;

    /**
     * 接口商户一级私钥路径
     */
    @Column(name = "INTRFACE_MER_PRAVKEY_PATH")
    protected String intrMerPravkeyPath;
    
    /**
     * 接口商户一级私钥密码
     */
    @Column(name = "INTRFACE_MER_PRAVKEY_PWD")
    protected String intrMerPravkeyPwd;
    
    /**
     * 接口商户二级私钥路径
     */
    @Column(name = "INTRFACE_MER_2ND_PRAVKEY_PATH")
    protected String intrMer2ndPravkeyPath;
    
    /**
     * 接口商户二级私钥密码
     */
    @Column(name = "INTRFACE_MER_2ND_PRAVKEY_PWD")
    protected String intrMer2ndPravkeyPwd;

    /**
     * 接口银行公钥路径
     */
    @Column(name = "INTRFACE_BANK_PUBKEY_PATH")
    protected String intrBankPubkeyPath;
    
    /**
     * 银行支付地址
     */
    @Column(name = "PAY_URL")
    protected String payUrl;
    
    /**
     * 银行查询地址
     */
    @Column(name = "QUERY_URL")
    protected String queryUrl;
    
    /**
     * 支付后台通知地址
     */
    @Column(name = "PAY_RETURN_URL")
    protected String payRuturnUrl;
    
    /**
     * 支付前台通知地址
     */
    @Column(name = "PAY_NOTIFY_URL")
    protected String payNotifyUrl;

    /**
     * 是否支持支付
     * 
     * 0 - 否 1 - 是
     */
    @Column(name = "IS_PAY", nullable = false, precision = 1, scale = 0)
    protected boolean pay;

    /**
     * 是否支持订单查询
     * 
     * 0 - 否 1 - 是
     */
    @Column(name = "IS_CHECK_ORDER", nullable = false, precision = 1, scale = 0)
    protected boolean checkOrder;

    /**
     * 是否支持退款
     * 
     * 0 - 否 1 - 是
     */
    @Column(name = "IS_REFUND", nullable = false, precision = 1, scale = 0)
    protected boolean refund;

    /**
     * 是否支持对账
     * 
     * 0 - 否 1 - 是
     */
    @Column(name = "IS_RECONCILIATION", nullable = false, precision = 1, scale = 0)
    protected boolean reconciliation;

    /**
     * 排序优先级
     */
    @Column(name = "PRIORITY_NUM")
    protected int priorityNum;
    
    /**
     * 是否可用
     * 
     * 0 - 不可用 1 - 可用
     */
    @Column(name = "AVAILABLE", nullable = false, precision = 2, scale = 1)
    protected boolean available;
	
    public int getPriorityNum() {
        return priorityNum;
    }

    public void setPriorityNum(int priorityNum) {
        this.priorityNum = priorityNum;
    }

    public boolean isReconciliation() {
        return reconciliation;
    }

    public void setReconciliation(boolean reconciliation) {
        this.reconciliation = reconciliation;
    }

    public boolean isRefund() {
        return refund;
    }

    public void setRefund(boolean refund) {
        this.refund = refund;
    }

    public boolean isCheckOrder() {
        return checkOrder;
    }

    public void setCheckOrder(boolean checkOrder) {
        this.checkOrder = checkOrder;
    }

    public boolean isPay() {
        return pay;
    }

    public void setPay(boolean pay) {
        this.pay = pay;
    }

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    public String getAcctName() {
        return acctName;
    }

    public void setAcctName(String acctName) {
        this.acctName = acctName;
    }

    public String getAcctNum() {
        return acctNum;
    }

    public void setAcctNum(String acctNum) {
        this.acctNum = acctNum;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }

    public String getBranchCode() {
        return branchCode;
    }

    public void setBranchCode(String branchCode) {
        this.branchCode = branchCode;
    }

    public String getChCode() {
        return chCode;
    }

    public void setChCode(String chCode) {
        this.chCode = chCode;
    }

    public String getIntrfaceBankCode() {
        return intrfaceBankCode;
    }

    public void setIntrfaceBankCode(String intrfaceBankCode) {
        this.intrfaceBankCode = intrfaceBankCode;
    }

    public String getIntrMernum1() {
        return intrMernum1;
    }

    public void setIntrMernum1(String intrMernum1) {
        this.intrMernum1 = intrMernum1;
    }

    public String getIntrMernum2() {
        return intrMernum2;
    }

    public void setIntrMernum2(String intrMernum2) {
        this.intrMernum2 = intrMernum2;
    }

    public String getIntrMerPravkeyPath() {
        return intrMerPravkeyPath;
    }

    public void setIntrMerPravkeyPath(String intrMerPravkeyPath) {
        this.intrMerPravkeyPath = intrMerPravkeyPath;
    }

    public String getIntrMerPravkeyPwd() {
		return intrMerPravkeyPwd;
	}

	public void setIntrMerPravkeyPwd(String intrMerPravkeyPwd) {
		this.intrMerPravkeyPwd = intrMerPravkeyPwd;
	}

	public String getIntrMer2ndPravkeyPath() {
		return intrMer2ndPravkeyPath;
	}

	public void setIntrMer2ndPravkeyPath(String intrMer2ndPravkeyPath) {
		this.intrMer2ndPravkeyPath = intrMer2ndPravkeyPath;
	}

	public String getIntrMer2ndPravkeyPwd() {
		return intrMer2ndPravkeyPwd;
	}

	public void setIntrMer2ndPravkeyPwd(String intrMer2ndPravkeyPwd) {
		this.intrMer2ndPravkeyPwd = intrMer2ndPravkeyPwd;
	}

	public String getIntrBankPubkeyPath() {
        return intrBankPubkeyPath;
    }

    public void setIntrBankPubkeyPath(String intrBankPubkeyPath) {
        this.intrBankPubkeyPath = intrBankPubkeyPath;
    }

	public String getPayUrl() {
		return payUrl;
	}

	public void setPayUrl(String payUrl) {
		this.payUrl = payUrl;
	}

	public String getQueryUrl() {
		return queryUrl;
	}

	public void setQueryUrl(String queryUrl) {
		this.queryUrl = queryUrl;
	}

	public String getPayRuturnUrl() {
		return payRuturnUrl;
	}

	public void setPayRuturnUrl(String payRuturnUrl) {
		this.payRuturnUrl = payRuturnUrl;
	}

	public String getPayNotifyUrl() {
		return payNotifyUrl;
	}

	public void setPayNotifyUrl(String payNotifyUrl) {
		this.payNotifyUrl = payNotifyUrl;
	}

    public boolean isAvailable() {
        return available;
    }

    public void setAvailable(boolean available) {
        this.available = available;
    }

   
}
